package com.ziyun.erp.modules.facilitator.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.common.utils.PageUtils;
import com.ziyun.erp.modules.facilitator.entity.FacilitatorEntity;
import io.renren.common.utils.R;

import java.util.List;
import java.util.Map;

/**
 * 团队表
 *
 * @author jiangli
 * @email 
 * @date 2018-12-29 16:20:17
 */
public interface FacilitatorService extends IService<FacilitatorEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<Map<String,Object>> getShops(String area);

    R updateFacilitatorEntity(FacilitatorEntity facilitator);

    FacilitatorEntity getFacilitatorEntity(Integer teamId);

    R saveFacilitatorEntity(FacilitatorEntity facilitator);

    R deleteFacilitatorEntity(List<FacilitatorEntity> facilitatorEntityList);

    R chenckShop(Integer userId);

    R refuse(Integer id,Integer flag);

    R searchQ(Map<String, Object> params);

    R facilitatorData(Map<String, Object> params);

    R userDistributionList(Integer teamId);

    R facilitatorStatisticVo(Map<String, Object> params);
}

